package com.lht.designPattern.visitor;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-06-27
 */
public class Boss implements Visitor{

    @Override
    public void visit(BeVisited beVisited) {
        System.out.println("我是Boss");
        System.out.println(beVisited.toBoss());
    }
}
